<template>
  <div class="wentifankui">
    <van-nav-bar title="问题反馈" left-arrow @click-left="$router.back()" />
    <van-cell-group inset>
      <van-field
        v-model="message"
        rows="3"
        autosize
        type="textarea"
        maxlength="50"
        placeholder="请输入留言"
        show-word-limit
        class="text"
      />
    </van-cell-group>

    <div class="btnbox">
      <button @click="pawdLogin" class="btn">提交</button>
    </div>
  </div>
</template>

<script>
import { toRefs, reactive, onMounted } from 'vue'
export default {
  setup(props) {
    const data = reactive({})

    return {
      ...toRefs(data)
    }
  }
}
</script>
<style lang="scss" scoped>
.text {
  margin-top: 40px;
  border: 1px solid #ccc;
}
.btnbox {
  margin-top: 80px;
  padding: 0 40px;
  box-sizing: border-box;
  .btn {
    width: 100%;
    font-size: 18px;
    line-height: 80px;
    color: #fff;
    border: none;
    font-size: 16px;
    background-color: #f15a24;
    border-radius: 10px;
  }
}
</style>
